package asia.doing.entity;

import java.util.List;

public class Category {
    private Integer id;
    private String name;
    private String description;
    private String color;
    private List<Article> articleList;
    private Integer[] articles;

    public Category() {}

    public Category(Integer id){
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public List<Article> getArticleList() {
        return articleList;
    }

    public void setArticleList(List<Article> articleList) {
        this.articleList = articleList;
    }

    public Integer[] getArticles() {
        return articles;
    }

    public void setArticles(Integer[] articles) {
        this.articles = articles;
    }
}

